= form_tag user_profile_certify_path, multipart: true do
  %table.table
    %tr
      %th{style:'width:120px'} 真实姓名
      %td= text_field_tag 'user[realname]', current_user.realname, class: "form-control"
    %tr
      %th{style:'width:120px'} 身份证号码
      %td= text_field_tag 'user[citizen_id]', current_user.citizen_id, class: "form-control"
    %tr
      %th{style:'width:120px'} 公司名称
      %td= text_field_tag 'user[company_name]', current_user.company_name, class: "form-control"
    %tr
      %th{style:'width:120px'} 车辆数量
      %td= number_field_tag 'user[car_number]', current_user.car_number, class: "form-control"
    %tr
      %th{style:'width:120px'} 身份证正面
      %td= file_field_tag 'user[picture_citizen_card_front]'
    %tr
      %th{style:'width:120px'} 身份证反面
      %td= file_field_tag 'user[picture_citizen_card_back]'
    %tr
      %th{style:'width:120px'} 营业执照
      %td= file_field_tag 'user[picture_business_license]'
    %tr
      %th{style:'width:120px'}
      %td
        =submit_tag '认证', class:'btn btn-primary'
        |
        =link_to '返回', user_profile_path, class: 'btn btn-default'